package com.zhx.basis.设计模式.抽象工厂.demo1;

public class IIRCacheAdapter implements ICacheAdapter {

    private IIR iir = new IIR();

    public String get(String key) {
        return iir.getIIR(key);
    }

    public void set(String key, String value) {
        iir.putIIR(key, value);
    }

    public void del(String key) {
        iir.removeIIR(key);
    }
}